package cn.driver.reserve.service;

import cn.driver.common.pojo.Reserve;

import java.util.List;

/**
 * 预约服务接口
 *
 * @author Jingkai Wang
 */

public interface ReserveService {

    List<Reserve> getFullReserveList(int index, int pageSize, String resId);

    List<Reserve> getReserveListByCoach(int coaId);

    Reserve getReserveByStuId(int stuId);

    int getReserveCount();

    int getCountByCreateDate(String date);

    boolean insertNewReserve(Reserve reserve);

    boolean updateReserve(Reserve reserve);

    boolean changeResStatus(String resId);

    boolean deleteReserve(String resId);
}
